A better way to copy array in javascript

http://dhtmlkitchen.com/news/gen/?permalink=copyArrays.html